#include "BtreePlusStructs.h"

/*
static uint32_t leafDegreeOfBtreePlus(uint32_t pageSize){
    return degree<BtreePlusNode, BtreePlusLeafCell>(pageSize);
}
static uint32_t interiorDegreeOfBtreePlus(uint32_t pageSize){
    return degree<BtreePlusNode, BtreePlusInteriorCell>(pageSize);
}*/


void BtreePlusStructs::test(){
    std::cout << "BtreePlusStructs::testing..." <<  std::dec  << std::endl
        << "\tsizeof(Node):" <<  sizeof(BtreePlusNode)  << std::endl
        << "\tsizeof(InteriorCell):" <<  sizeof(BtreePlusInteriorCell)  <<std::endl
        << "\tsizeof(InteriorNode):" <<  sizeof(BtreePlusInteriorNode)  << std::endl
        << "\tsizeof(LeafCell):" <<  sizeof(BtreePlusLeafCell)  << std::endl
        << "\tsizeof(LeafNode):" <<  sizeof(BtreePlusLeafNode)  << " more next ptr" << std::endl
        << "\tleafDegree:" << leafDegreeOfBtreePlus(1024u) <<  std::endl
        << "\tinteriorDegree:" << interiorDegreeOfBtreePlus(1024u) <<  std::endl
    ;
}
